• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

reset --hard

[git] reset 으로 작업 되돌리기

특정 시점의 commit 으로 작업한 내용을 되돌리고 싶을 때가 있다. git reset 을 이용해 이를 해결해보자! 현재 branch 는 main branch 이다. 이 branch 에서 reset 작업을 할 수도 있지만 안정성 확보를 위해 추가 branch 생성 및 이동 후 이동한 branch 에서 작업을 해보겠다. 아래 코드를 참고해보자 (checkout 대해서는 추후에 작성하겠다) 위...

resetgitreset --hardreset --softgit

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more